package net.hn.hnms.biz.project.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
@ApiModel("项目管理")
public class AccidentInfoVo {


    @ApiModelProperty(value = "事故ID")
    private String accidentId;
    @ApiModelProperty(value = "事故编码")
    private String accidentCode;

    @ApiModelProperty(value = "事故地点")
    private String accidentPlace;

    @ApiModelProperty(value = "事发时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date occurTime;

    @ApiModelProperty(value = "事故类型")
    private String accidentType;

    @ApiModelProperty(value = "事故等级")
    private String accidentLevel;

    @ApiModelProperty(value = "事故采用预案")
    private String emergencyPlan;

    @ApiModelProperty(value = "事故影响")
    private String impact;

    @ApiModelProperty(value = "经济损失（万元）")
    private BigDecimal economicLoss;

    @ApiModelProperty(value = "伤亡情况（人）")
    private String casualties;

    @ApiModelProperty(value = "处置过程及结果")
    private String disposalResult;

    @ApiModelProperty(value = "项目ID")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

}
